package com.lilicould.entity;

import java.util.Date;

public class Tenant {
    // 租客编号
    private String tenantId;
    // 租客姓名
    private String name;
    // 银行账号
    private String bankAccount;
    // 紧急联系人姓名
    private String emergencyName;
    // 紧急联系人电话
    private String emergencyPhone;

    public Tenant(String tenantId, String name, String bankAccount, String emergencyName, String emergencyPhone) {
        this.tenantId = tenantId;
        this.name = name;
        this.bankAccount = bankAccount;
        this.emergencyName = emergencyName;
        this.emergencyPhone = emergencyPhone;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBankAccount() {
        return bankAccount;
    }

    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount;
    }

    public String getEmergencyName() {
        return emergencyName;
    }

    public void setEmergencyName(String emergencyName) {
        this.emergencyName = emergencyName;
    }

    public String getEmergencyPhone() {
        return emergencyPhone;
    }

    public void setEmergencyPhone(String emergencyPhone) {
        this.emergencyPhone = emergencyPhone;
    }


    @Override
    public String toString() {
        return "Tenant{" +
                "tenantId=" + tenantId +
                ", name='" + name + '\'' +
                ", bankAccount='" + bankAccount + '\'' +
                ", emergencyName='" + emergencyName + '\'' +
                ", emergencyPhone='" + emergencyPhone + '\'' +
                '}';
    }
}
